package com.wyvoid.forum.util;

import com.wyvoid.forum.domain.User;

import java.util.Map;
import java.util.HashMap;

/**
 * 论坛统计信息
 * <p>51void.com</p>
 * User:cjp
 * Date: 2007-5-16
 * Time: 21:45:13
 */
public class ForumMemory {
    public static Map<Long,ForumStat> forumStatMap=new HashMap<Long,ForumStat>();
    public static int countUser;//所有用户数
    public static int countTopic;//所有主题数
    public static int countPost;//所有帖子数
    public User lastUser;//最新注册用户

    public void addForumStat(long forumId,ForumStat forumStat){
        forumStatMap.put(forumId,forumStat);
    }
}
